3.13.42 \(\int (1-2 x)^2 (2+3 x)^2 (3+5 x) \, dx\) [1242]

Optimal. Leaf size=35 \[ 12 x+4 x^2-\frac {89 x^3}{3}-\frac {79 x^4}{4}+\frac {168 x^5}{5}+30 x^6 \]

[Out]

12*x+4*x^2-89/3*x^3-79/4*x^4+168/5*x^5+30*x^6

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {78} \begin {gather*} 30 x^6+\frac {168 x^5}{5}-\frac {79 x^4}{4}-\frac {89 x^3}{3}+4 x^2+12 x \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(1 - 2*x)^2*(2 + 3*x)^2*(3 + 5*x),x]

[Out]

12*x + 4*x^2 - (89*x^3)/3 - (79*x^4)/4 + (168*x^5)/5 + 30*x^6

Rule 78

Int[((a_.) + (b_.)*(x_))*((c_) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandIntegran
d[(a + b*x)*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && NeQ[b*c - a*d, 0] && ((ILtQ[
n, 0] && ILtQ[p, 0]) || EqQ[p, 1] || (IGtQ[p, 0] && ( !IntegerQ[n] || LeQ[9*p + 5*(n + 2), 0] || GeQ[n + p + 1
, 0] || (GeQ[n + p + 2, 0] && RationalQ[a, b, c, d, e, f]))))

Rubi steps

\begin {align*} \int (1-2 x)^2 (2+3 x)^2 (3+5 x) \, dx &=\int \left (12+8 x-89 x^2-79 x^3+168 x^4+180 x^5\right ) \, dx\\ &=12 x+4 x^2-\frac {89 x^3}{3}-\frac {79 x^4}{4}+\frac {168 x^5}{5}+30 x^6\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 35, normalized size = 1.00 \begin {gather*} 12 x+4 x^2-\frac {89 x^3}{3}-\frac {79 x^4}{4}+\frac {168 x^5}{5}+30 x^6 \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(1 - 2*x)^2*(2 + 3*x)^2*(3 + 5*x),x]

[Out]

12*x + 4*x^2 - (89*x^3)/3 - (79*x^4)/4 + (168*x^5)/5 + 30*x^6

________________________________________________________________________________________

Maple [A]
time = 0.08, size = 30, normalized size = 0.86

method result size
gosper \(\frac {x \left (1800 x^{5}+2016 x^{4}-1185 x^{3}-1780 x^{2}+240 x +720\right )}{60}\) \(29\)
default \(12 x +4 x^{2}-\frac {89}{3} x^{3}-\frac {79}{4} x^{4}+\frac {168}{5} x^{5}+30 x^{6}\) \(30\)
norman \(12 x +4 x^{2}-\frac {89}{3} x^{3}-\frac {79}{4} x^{4}+\frac {168}{5} x^{5}+30 x^{6}\) \(30\)
risch \(12 x +4 x^{2}-\frac {89}{3} x^{3}-\frac {79}{4} x^{4}+\frac {168}{5} x^{5}+30 x^{6}\) \(30\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1-2*x)^2*(2+3*x)^2*(3+5*x),x,method=_RETURNVERBOSE)

[Out]

12*x+4*x^2-89/3*x^3-79/4*x^4+168/5*x^5+30*x^6

________________________________________________________________________________________

Maxima [A]
time = 0.30, size = 29, normalized size = 0.83 \begin {gather*} 30 \, x^{6} + \frac {168}{5} \, x^{5} - \frac {79}{4} \, x^{4} - \frac {89}{3} \, x^{3} + 4 \, x^{2} + 12 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^2*(2+3*x)^2*(3+5*x),x, algorithm="maxima")

[Out]

30*x^6 + 168/5*x^5 - 79/4*x^4 - 89/3*x^3 + 4*x^2 + 12*x

________________________________________________________________________________________

Fricas [A]
time = 0.68, size = 29, normalized size = 0.83 \begin {gather*} 30 \, x^{6} + \frac {168}{5} \, x^{5} - \frac {79}{4} \, x^{4} - \frac {89}{3} \, x^{3} + 4 \, x^{2} + 12 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^2*(2+3*x)^2*(3+5*x),x, algorithm="fricas")

[Out]

30*x^6 + 168/5*x^5 - 79/4*x^4 - 89/3*x^3 + 4*x^2 + 12*x

________________________________________________________________________________________

Sympy [A]
time = 0.02, size = 32, normalized size = 0.91 \begin {gather*} 30 x^{6} + \frac {168 x^{5}}{5} - \frac {79 x^{4}}{4} - \frac {89 x^{3}}{3} + 4 x^{2} + 12 x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)**2*(2+3*x)**2*(3+5*x),x)

[Out]

30*x**6 + 168*x**5/5 - 79*x**4/4 - 89*x**3/3 + 4*x**2 + 12*x

________________________________________________________________________________________

Giac [A]
time = 0.77, size = 29, normalized size = 0.83 \begin {gather*} 30 \, x^{6} + \frac {168}{5} \, x^{5} - \frac {79}{4} \, x^{4} - \frac {89}{3} \, x^{3} + 4 \, x^{2} + 12 \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^2*(2+3*x)^2*(3+5*x),x, algorithm="giac")

[Out]

30*x^6 + 168/5*x^5 - 79/4*x^4 - 89/3*x^3 + 4*x^2 + 12*x

________________________________________________________________________________________

Mupad [B]
time = 0.02, size = 29, normalized size = 0.83 \begin {gather*} 30\,x^6+\frac {168\,x^5}{5}-\frac {79\,x^4}{4}-\frac {89\,x^3}{3}+4\,x^2+12\,x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((2*x - 1)^2*(3*x + 2)^2*(5*x + 3),x)

[Out]

12*x + 4*x^2 - (89*x^3)/3 - (79*x^4)/4 + (168*x^5)/5 + 30*x^6

________________________________________________________________________________________